print

Syntax: print member whichCastmember [,... ]

print member whichCastmember of castLib whichLib [, ... ]

print castLib whichCast [, ... ]

print sprite whichSprite [, ... ]

print string [, ... ]

print list [, ... ]

print document

The print command is an extension to Lingo provided by the PrintOMatic Xtra. This command is used to print one or more items to the currently selected printer. The following Director objects are printable:

type of object           what gets printed
_________________________________________________________________

text field cast member   the text of the field, using the 
                         specified fonts and styles

rich text cast member    the bitmap image of the cast member,
                         including anti-aliasing

bitmap cast member       the cast member graphic

PICT cast member         the cast member graphic

cast library             all printable cast members in the 
                         library, in cast sequence

sprite                   the cast member of the sprite

text string              the text string, in the default font 
                        (Geneva 10pt on Macintosh, 
                         Arial 10pt on Windows)

list                     the elements in the list

document                 the contents of the PrintOMatic document

Examples:

You can print a number of objects together with a single call to the print command:

print "Printed Output" & RETURN , member "image" , member "someText"

One of the most powerful uses of the print command is to assemble all the elements of a document into a single cast library, and print the entire cast library with one line of Lingo:

print castLib "document"